﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NodeBasedSkillEditor.Model.Node
{
    [Node(Category = DAGHelper.CateName_Convert, Name = "Scalar to 3D Vector")]
    public class Node_ScalarToVector3 : NodeData
    {
        [Port(IOType = EPortIOType.Input)]
        public FloatPort X = new FloatPort();

        [Port(IOType = EPortIOType.Input)]
        public FloatPort Y = new FloatPort();

        [Port(IOType = EPortIOType.Input)]
        public FloatPort Z = new FloatPort();

        [Port(IOType = EPortIOType.Output)]
        public Vector3Port Vector3 = new Vector3Port();

        public override RT_Node BuildRuntimeNode(RT_DAG parentDAG)
        {
            return new RT.Node_ScalarToVector3_RT(this, parentDAG);
        }
    }
}
